﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    x:Class="Flitter.SettingWindow" Cursor="Arrow"
    Title="設定" Loaded="OnLoaded"  ResizeMode="NoResize" Height="458" Width="473" WindowStartupLocation="CenterScreen" 
    mc:Ignorable="d">

  <Grid VerticalAlignment="Stretch" Margin="0,0,0,2">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" MinHeight="27"  />
      <RowDefinition Height="Auto" MinHeight="28"  />
      <RowDefinition Height="Auto" MinHeight="30"  />
      <RowDefinition Height="Auto" MinHeight="25.06" />
      <RowDefinition Height="Auto" MinHeight="29.02" />
      <RowDefinition Height="11.5"/>
      <RowDefinition Height="Auto" MinHeight="31.522"/>
      <RowDefinition Height="Auto" MinHeight="29.888"/>
      <RowDefinition Height="Auto" MinHeight="31.055"/>
      <RowDefinition Height="Auto" MinHeight="31.022"/>
      <RowDefinition/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="20"  MinWidth="0"  />
      <ColumnDefinition Width="Auto" MinWidth="15" />
      <ColumnDefinition Width="Auto" MinWidth="431"  />
        </Grid.ColumnDefinitions>
    <RadioButton x:Name="IsTwitterSearch" Margin="0,4,0,5.06" Content="" Grid.Column="1" Grid.Row="3" GroupName="RadioButtonTwitters" d:LayoutOverrides="Height"/>
    <RadioButton  IsChecked="True" GroupName="RadioButtonTwitters" x:Name="IsTwitterPublic"  Grid.Column="1" Grid.Row="1" VerticalAlignment="Center"   />
    <RadioButton  GroupName="RadioButtonTwitters" x:Name="IsTwitterUser"  Grid.Column="1" Grid.Row="2" VerticalAlignment="Center"  />
    <Label Grid.Row="10"   Content="注意：動作中に設定した値は、約1分後に反映されます。" Margin="8,79.908,0,0" Grid.Column="2" VerticalAlignment="Top" Height="30" HorizontalAlignment="Left" Width="317.453" d:LayoutOverrides="GridBox"/>
    <Label Content="パブリックタイムラインを表示"  Grid.Column="2" Grid.Row="1" d:LayoutOverrides="GridBox" HorizontalAlignment="Left" Width="375.969" VerticalAlignment="Center" />
    <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.Column="2" d:LayoutOverrides="GridBox" HorizontalAlignment="Left" Width="395.793">

      <Label Margin="0,0,0,0"  Content="特定のユーザータイムラインを表示" VerticalAlignment="Center"  />
      <TextBox  HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="150" Text="" TextWrapping="Wrap" x:Name="TWITTER_USERNAME_TO_FOLLOW_TEXTBOX" Height="24" />
    </StackPanel>
    <StackPanel Grid.Column="2" Grid.Row="10" Orientation="Horizontal" Margin="271.207,24.402,0,0" HorizontalAlignment="Left" Width="151.793" Height="51.506" VerticalAlignment="Top" >
      <Button Content="Save" Click="SaveSettings" Width="64.41" Height="28"/>
      <Button Content="Cancel" Click="CancelSettings"  x:Name="Save" Width="64.41" Height="28" Margin="20,0,0,0"/>
    </StackPanel>
    <StackPanel Grid.Column="2" Grid.Row="4" Orientation="Horizontal" VerticalAlignment="Top" Height="26.5" HorizontalAlignment="Left" Width="358.793">
    	<Label HorizontalAlignment="Left" VerticalAlignment="Center" Content="検索クエリー" Margin="20,0,0,0"/>
    	<TextBox x:Name="TWITTER_QUERY_TEXTBOX" Width="150" TextWrapping="Wrap" VerticalAlignment="Center" Margin="0,0,75,0" Height="24"/>
    </StackPanel>
    <Label VerticalAlignment="Top" Height="27" Grid.Column="1" Content="Twitterの設定" FontWeight="Bold" HorizontalAlignment="Left" Width="366.793" Grid.ColumnSpan="2" d:LayoutOverrides="GridBox"/>
    <StackPanel Orientation="Horizontal" Grid.Row="7" Grid.Column="2" HorizontalAlignment="Left" Width="351.793" Margin="8,0,0,2.821">
    	<Label Margin="0" Content="バックグラウンドの色"  VerticalAlignment="Center" Width="140"/>
    	<TextBox HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Center" Width="150"  Text="" TextWrapping="Wrap" x:Name="Color_Background_TEXTBOX" Height="24" MaxLines="1" IsReadOnly="True" >
    		<TextBox.Background>
    			<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.InactiveCaptionColorKey}}"/>
    		</TextBox.Background>
    	</TextBox>
    	<Button x:Name="Color_Background_BUTTON" Margin="0,0,0,0.59" Width="50" Content="選択" Click="Color_Background_BUTTON_Click" />
    </StackPanel>
    <StackPanel Orientation="Horizontal" Grid.Row="9" Grid.Column="2" HorizontalAlignment="Left" Width="400" Margin="7,0,0,3.022" Height="28">
    	<Label Margin="0" Content="壁紙をファイルで指定"  VerticalAlignment="Center" Width="140"/>
    	<TextBox HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Center" Width="200"  Text="" x:Name="Pic_Background_TEXTBOX" Height="24" MaxLines="1" />
    	<Button x:Name="Pic_Background_BUTTON" Margin="0,0,0,0.59" Width="50" Content="選択" Click="Pic_Background_BUTTON1_Click" />
    </StackPanel>
    <Label Content="検索結果を表示" HorizontalAlignment="Left" Grid.Column="2" Grid.Row="3" Margin="8,0,0,-2.94" d:LayoutOverrides="Height"/>
    <StackPanel Orientation="Horizontal" Grid.Column="2" HorizontalAlignment="Left" Width="351.793" Margin="7,0,0,3.522" Grid.Row="6">
    	<Label Margin="0" Content="アイコンの枠の色"  VerticalAlignment="Center" Width="140"/>
    	<TextBox HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Center" Width="150"  Text="" TextWrapping="Wrap" x:Name="Color_Frame_TEXTBOX" Height="24" MaxLines="1" IsReadOnly="True" >
    		<TextBox.Background>
    			<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.InactiveCaptionColorKey}}"/>
    		</TextBox.Background>
    	</TextBox>
    	<Button x:Name="Color_Frame_BUTTON" Width="50" Content="選択" Click="Color_Frame_BUTTON_Click" />
    </StackPanel>
    <StackPanel Orientation="Horizontal" Grid.Row="8" Grid.Column="2" HorizontalAlignment="Left" Width="351.793" Margin="7,1.179,0,1.876">
    	<Label Margin="0" Content="フォアグラウンドの色"  VerticalAlignment="Center" Width="140"/>
    	<TextBox HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Center" Width="150"  Text="" TextWrapping="Wrap" x:Name="Color_Foreground_TEXTBOX" Height="24" MaxLines="1" IsReadOnly="True" >
    		<TextBox.Background>
    			<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.InactiveCaptionColorKey}}"/>
    		</TextBox.Background>
    	</TextBox>
    	<Button x:Name="Color_Foreground_BUTTON" Margin="0,0,0,0.59" Width="50" Content="選択" Click="Color_Foreground_BUTTON_Click" />
    </StackPanel>
  </Grid>
<!--
  <Grid  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"  />
    	<RowDefinition Height="Auto"  />
    	<RowDefinition Height="Auto"  />
      <RowDefinition Height="Auto" />
    	<RowDefinition Height="Auto" />
    	<RowDefinition Height="Auto" />
    	<RowDefinition Height="Auto" />
    	<RowDefinition Height="Auto"/>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto"  />
      <ColumnDefinition Width="Auto" />
      <ColumnDefinition Width="Auto"  />
      <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <CheckBox Width="10" Height="10"/>
    
  	<Label Margin="20,0,0,0" VerticalAlignment="Top" Height="48" Content="TWITTER FOLLOWER URL&#xd;&#xa;"/>
  	<Label Margin="20,0,0,0" Content="TWITTER USERNAME" Grid.Row="1" VerticalAlignment="Top"/>
  	<Label Margin="20,0,0,0" Content="TWITTER PASSWORD&#xd;&#xa;" Grid.Row="2" VerticalAlignment="Top"/>
  	<Label Margin="20,34.9,0,0" Content="FLICKR TAG" Grid.Row="2" VerticalAlignment="Top" Grid.RowSpan="4"/>
  	<StackPanel HorizontalAlignment="Left" Margin="0,22.45,0,0" VerticalAlignment="Top" Grid.Column="1" Grid.Row="5" Orientation="Horizontal" Grid.RowSpan="2">
      <Button Content="Save" Click="SaveSettings" Width="64.41" Height="28"/>
      <Button Content="Cancel"  x:Name="Save" Click="CancelSettings" Width="64.41" Height="28"/>
    </StackPanel>
  	<TextBox  HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="300" Grid.Column="1" Text="" TextWrapping="Wrap" x:Name="TWITTER_FOLLOWER_TEXTBOX"/>
  	<TextBox HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="300" Grid.Column="1" Grid.Row="1" Text="" TextWrapping="Wrap" x:Name="TWITTER_USERNAME_TEXTBOX"/>
  	<TextBox HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="300" Grid.Column="1" Grid.Row="2" Text="" TextWrapping="Wrap" x:Name="TWITTER_PASSWORD_TEXTBOX"/>
  	<TextBox Text="" TextWrapping="Wrap" Margin="0,34.9,0,0" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="1" Grid.Row="2" x:Name="FLICKR_TAG_TEXTBOX" Grid.RowSpan="4"/>
  </Grid>
  -->
</Window>
